package com.zhentao.model.common.app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName app_user_data
 */
@TableName(value ="app_user_data")
@Data
public class AppUserData implements Serializable {
    /**
     * 个人资料表主键
     */
    @TableId(value = "user_data_id", type = IdType.AUTO)
    private Integer userDataId;

    /**
     * ID
     */
    @TableField(value = "member_id")
    private Integer memberId;

    /**
     * 照片
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 性别（0男  1女   2未知）
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 出生日期
     */
    @TableField(value = "birthday")
    @JsonFormat(pattern="yyyy/MM/dd")
    private Date birthday;

    /**
     * 职业
     */
    @TableField(value = "profession")
    private String profession;

    /**
     * 籍贯所在地
     */
    @TableField(value = "native_address")
    private String nativeAddress;

    /**
     * 目前所在地
     */
    @TableField(value = "now_address")
    private String nowAddress;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 微信
     */
    @TableField(value = "we_chat")
    private String weChat;

    /**
     * 月薪
     */
    @TableField(value = "salary")
    private String salary;

    /**
     * 购车情况外键
     */
    @TableField(value = "buycar_id")
    private Integer buycarId;

    /**
     * 购房情况外键
     */
    @TableField(value = "house_id")
    private Integer houseId;

    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 身高
     */
    @TableField(value = "stature")
    private String stature;
    /**
     * 体重
     */
    @TableField(value = "weight")
    private String weight;
    /**
     * 星座
     */
    @TableField(value = "constellation")
    private String constellation;
    /**
     * 属相
     */
    @TableField(value = "zodiak")
    private String zodiak;
    /**
     * 血型
     */
    @TableField(value = "abo")
    private String abo;

    /**
     * 婚烟状况（0 不限 1未婚 2离异 3丧偶）
     */
    @TableField(value = "cases")
    private Integer cases;

    /**
     * 学历
     */
    @TableField(value = "degree")
    private String degree;

    /**
     * 民族
     */
    @TableField(value = "nation")
    private String nation;

    /**
     * 自我介绍
     */
    @TableField(value = "introduce")
    private String introduce;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
    @TableField(value = "choose_weight")
    private String chooseWeight;
    @TableField(value = "choose_stature")
    private String chooseStature;
    @TableField(value = "choose_cases")
    private Integer chooseCases;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}